package com.spy.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import com.spy.system.domain.DishCategory;

/**
 * 菜单类别Service接口
 *
 * @author ruoyi
 * @date 2025-11-08
 */
public interface IDishCategoryService extends IService<DishCategory>
{
    /**
     * 查询菜单类别
     *
     * @param id 菜单类别主键
     * @return 菜单类别
     */
    public DishCategory selectDishCategoryById(Long id);

    /**
     * 查询菜单类别列表
     *
     * @param dishCategory 菜单类别
     * @return 菜单类别集合
     */
    public List<DishCategory> selectDishCategoryList(DishCategory dishCategory);

    /**
     * 新增菜单类别
     *
     * @param dishCategory 菜单类别
     * @return 结果
     */
    public int insertDishCategory(DishCategory dishCategory);

    /**
     * 修改菜单类别
     *
     * @param dishCategory 菜单类别
     * @return 结果
     */
    public int updateDishCategory(DishCategory dishCategory);

    /**
     * 批量删除菜单类别
     *
     * @param ids 需要删除的菜单类别主键集合
     * @return 结果
     */
    public int deleteDishCategoryByIds(Long[] ids);

    /**
     * 删除菜单类别信息
     *
     * @param id 菜单类别主键
     * @return 结果
     */
    public int deleteDishCategoryById(Long id);
}